package com.chencs.app.xcx;

import com.taobao.api.ApiRuleException;
import com.taobao.api.BaseTaobaoRequest;
import com.taobao.api.TaobaoObject;
import com.taobao.api.internal.mapping.ApiField;
import com.taobao.api.internal.util.TaobaoHashMap;
import com.taobao.api.internal.util.json.JSONWriter;

import java.util.Map;

public class WirelessShareTpwdQueryRequest extends BaseTaobaoRequest<WirelessShareTpwdQueryResponse> {

    @ApiField("PasswordContent")
    public String passwordContent;


    public WirelessShareTpwdQueryRequest() {
    }


    public String getPasswordContent() {
        return passwordContent;
    }

    public void setPasswordContent(String passwordContent) {
        this.passwordContent = passwordContent;
    }

    public Class<WirelessShareTpwdQueryResponse> getResponseClass() {
        return WirelessShareTpwdQueryResponse.class;
    }

    public void check() throws ApiRuleException {
    }


    @Override
    public String getApiMethodName() {
        return "taobao.wireless.share.tpwd.query";
    }

    @Override
    public Map<String, String> getTextParams() {
        TaobaoHashMap txtParams = new TaobaoHashMap();
        txtParams.put("password_content", this.passwordContent);
        if (this.udfParams != null) {
            txtParams.putAll(this.udfParams);
        }

        return txtParams;
    }
}
